#ifndef INFORMATIONDIALOG_H
#define INFORMATIONDIALOG_H

class InformationDialog : public QDialog
{
    Q_OBJECT
public:
    InformationDialog(QWidget *parent = 0); //构造函数
    QTableWidget *getTableWidget(){return tableWidget;}

private:
    QTableWidget *tableWidget=new QTableWidget(this);
    QPushButton *okButton = new QPushButton("OK"); //定义OK按钮
    void okButtonClicked(); //OK按钮点击时的处理函数
};

#endif // INFORMATIONDIALOG_H
